package com.tiantianbook.mvpretrofitrxjavademo.mainframe.main.presenter;

import android.content.Context;

import com.tiantianbook.mvpretrofitrxjavademo.base.BasePresenter;
import com.tiantianbook.mvpretrofitrxjavademo.base.BaseMvpView;
import com.tiantianbook.mvpretrofitrxjavademo.mainframe.main.model.MainMVPModel;
import com.tiantianbook.mvpretrofitrxjavademo.mainframe.main.view.MainMVPView;

/**
 * name:MainMVPPresenter
 * author:moo.
 * date:2016/8/31.
 * instruction:
 */
public class MainMVPPresenter extends BasePresenter<MainMVPView> {
    private Context context;
    private MainMVPModel mMainMVPModel;

    public MainMVPPresenter(Context context) {
        this.context = context;
        this.mMainMVPModel = new MainMVPModel();
    }

    public void getData() {
        mMainMVPModel.getData(mView);
    }

}
